﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace HexagonWeb.Models
{
    public class Ticket
    {
        [Key]
        public string PNR { get; set; }

        [Display(Name = "等级")]
        public int Level { get; set; }
        
        [Display(Name = "座位行数")]
        public int Row { get; set; }
        
        [Display(Name = "座位号")]
        public int Column { get; set; }

        public int AirlineID { get; set; }
        public int UserID { get; set; }

        public virtual Airline airline { get; set; }

        public virtual User user { get; set; }
    }
}